import Layout from '@/layout'

const displayRouter = {
  path: '/displayModules',
  component: Layout,
  redirect: '',
  name: 'displayModules',
  meta: {
    title: '系统管理',
    icon: 'list'
  },
  children: [
    {
      path: '/displayPartnerMaterialList',
      name: 'displayPartnerMaterialList',
      meta: {
        title: '素材管理',
        hideInMenu: true
      },
      component: resolve => require(['@/views/modules/display/displayPartnerMaterialList.vue'], resolve)
    },
    {
      path: '/displayPartnerMaterialCategoryList',
      name: 'displayPartnerMaterialCategoryList',
      meta: {
        title: '素材分类',
        hideInMenu: true
      },
      hidden: true,
      component: resolve => require(['@/views/modules/display/displayPartnerMaterialCategoryList.vue'], resolve)
    },
    {
      path: '/displayPartnerDeviceList',
      name: 'displayPartnerDeviceList',
      meta: {
        title: '设备管理',
        hideInMenu: true
      },
      component: resolve => require(['@/views/modules/display/displayPartnerDeviceList.vue'], resolve)
    },
    {
      path: '/displayWindowPartnerProductList',
      name: 'displayWindowPartnerProductList',
      meta: {
        title: '产品管理',
        hideInMenu: true
      },
      component: resolve => require(['@/views/modules/display/displayWindowPartnerProductList.vue'], resolve)
    },
    {
      path: '/displayWindowPartnerCategoryList',
      name: 'displayWindowPartnerCategoryList',
      meta: {
        title: '产品管理',
        hideInMenu: true
      },
      hidden: true,
      component: resolve => require(['@/views/modules/display/displayWindowPartnerCategoryList.vue'], resolve)
    },
    {
      path: '/displayBusinessList',
      name: 'displayBusinessList',
      meta: {
        title: '账号管理',
        hideInMenu: true
      },
      component: resolve => require(['@/views/modules/display/displayBusinessList.vue'], resolve)
    },
    // {
    //   path: '/displayWindowNoticeList',
    //   name: 'displayWindowNoticeList',
    //   meta: {
    //     title: '活动推送',
    //     hideInMenu: true
    //   },
    //   component: resolve => require(['@/views/modules/display/displayWindowNoticeList.vue'], resolve)
    // },
    {
      path: '/displayPartnerPoolList',
      name: 'displayPartnerPoolList',
      meta: {
        title: '广告管理',
        hideInMenu: true
      },
      component: resolve => require(['@/views/modules/display/displayPartnerPoolList.vue'], resolve)
    },
    {
      path: '/displayWindowNoticeFrom',
      name: 'displayWindowNoticeFrom',
      meta: {
        title: '广告管理',
        hideInMenu: true
      },
      hidden: true,
      component: resolve => require(['@/views/modules/display/displayWindowNoticeFrom.vue'], resolve)
    },
  ]
}
export default displayRouter
